import { Space, Table, Tag } from 'antd';
import React from 'react';


const columns = [
    {
        title: '排名',
        dataIndex: 'key',
    },
    {
        title: '教师姓名',
        dataIndex: 'name',
    },
    {
        title: '累计发布消息数量',
        dataIndex: 'num',
    },
];
const data = [];
const school = [1];
const num = [];
for (let i = 1; i < 11; i++) {
    data.push({
        key: i,
        name: school[i - 1],
        num: 100+i,
    });
}
const schoolTable = () => <Table className='Table' pagination={false} columns={columns} dataSource={data} />;
export default schoolTable;